package de.tabuma.soap.entity.soap;

import java.io.*;
import javax.jdo.annotations.*;

import de.tabuma.soap.annotation.*;
import de.tabuma.soap.entity.wsdl.TExtensibilityElement;

/**
 * This class represents an element of an wsdl document called &quot;address&quot;.
 * @author $Author: alefen $
 * @version $Revision: 1.1 $
 * @since $Date: 2009/12/30 02:57:12 $
 */
@PersistenceCapable(identityType = IdentityType.APPLICATION)
@SoapClassDefinition(@SoapClassMapping(mappingString="address",mappingType=SoapClassMapping.MappingType.SOAP))
public class SAddress implements Serializable {

    public SAddress() {
        this.tExtensibilityElementId = new Long(0);
    }

    @PrimaryKey
    @Persistent(valueStrategy = IdGeneratorStrategy.IDENTITY)
    private Long id;
    public Long getId() {
        return id;
    }

    @Persistent
    @SoapExtendsDefinition(extendsClass=TExtensibilityElement.class)
    private Long tExtensibilityElementId;
    public Long getTExtensibilityElementId() {
        return tExtensibilityElementId;
    }
    public void setTExtensibilityElementId(Long tExtensibilityElementId) {
        this.tExtensibilityElementId = tExtensibilityElementId;
    }
    

    @Persistent
    @SoapAttribute
    private String location;
    public String getLocation() {
        return location;
    }

    public void setLocation(String location) {
        this.location = location;
    }
}
